package com.xubeizhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xubeizhi.entity.UserAuth;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Mapper接口
 * @author mi
 * @create 2023/3/3 10:27
 */
@Repository
@Mapper
public interface UserAuthMapper extends BaseMapper<UserAuth> {
        void deleteByUserIds(@Param("ids")List<Integer> ids);

        UserAuth getByUserId(Object loginId);
}
